import { BasicPageParams, BasicFetchResult } from '@/api/model/baseModel';

export interface TagInfo {
  id: number;
  name: string;
  desc: string;
  created_at: string;
  updated_at: string;
}

export type TagListParams = BasicPageParams & {
  name?: string;
  status?: number;
};

export type TagListResultModel = BasicFetchResult<TagInfo>;

export type TagAddReq = {
  name: string;
  desc: string;
};

export type TagEditReq = TagAddReq & {
  id: number;
};
